<template>
  <div class="count">
    <h2 class="title">我是Count组件</h2>
    <p class="content">Count的值是:{{count}}</p>
  </div>
</template>

<script>
export default {
    name:"Count",
    data(){
      return{
        count:8
      }
    }
}
</script>

<style scoped>
  .count{
    background: red;
  }
</style>